﻿using System;

namespace ZOIL.DataModel.Interfaces
{
    public interface IPersistsVisualProperties
    {
        IPersistable GetPersistable(long id);
        IVisualProperties GetVisualProperties(long id);
        Tuple<IPersistable, IVisualProperties> GetPersistableAndVisualProperties(long id);
        void Add(IPersistable p, IVisualProperties prop);
    }
}